projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
528e603
)
css: Fix leak of lists while building tree
author
Alexander Larsson
<alexl@redhat.com>
Thu, 29 Nov 2012 18:10:57 +0000
(19:10 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Fri, 30 Nov 2012 13:53:30 +0000
(14:53 +0100)
gtk/gtkcssselector.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcssselector.c
b/gtk/gtkcssselector.c
index a9800ac8bcc7655004c92e3f8cc6ec4e480144cf..29ca387e3dbf0ac49347c3b1f3e055d139e8b106 100644
(file)
--- a/
gtk/gtkcssselector.c
+++ b/
gtk/gtkcssselector.c
@@
-1946,6
+1946,9
@@
subdivide_infos (GList *infos, GtkCssSelectorTree *parent)
if (remaining)
tree->sibling = subdivide_infos (remaining, parent);
+ g_list_free (matched);
+ g_list_free (remaining);
+
return tree;
}